import request from '@/utils/request'

const prePath = "/fiscal";

// 物资月结
export function getMaterialCustomizeListPage(data) {
  return request({
    url: prePath + '/fiscalPeriodStockMonthClose/customizeList/page',
    method: "post",
    data
  })
}

export function getMaterialCustomizeAll(data) {
  return request({
    url: prePath + '/fiscalPeriodStockMonthClose/customizeList/all',
    method: "post",
    data
  })
}

export function getMaterialCustomizeGroups(data) {
  return request({
    url: prePath + '/fiscalPeriodStockMonthClose/customizeGroups',
    method: 'post',
    data
  })
}
// 常规物资月结导出
export function exportRoutineMaterialExcel(data) {
  return request({
    url: prePath + '/fiscalPeriodStockMonthClose/exportRoutineMaterialExcel',
    method: 'post',
    responseType: 'blob',
    data
  })
}
// 寄售物资月结导出
export function exportConsignmentMaterialExcel(data) {
  return request({
    url: prePath + '/fiscalPeriodStockMonthClose/exportConsignmentMaterialExcel',
    method: 'post',
    responseType: 'blob',
    data
  })
}
